package com.dd.cloud.user.service.consule;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dd.cloud.user.entity.consult.ConsultMedicalRecord;
import com.dd.cloud.user.req.consult.ConsultMedicalRecordCreateReq;
import com.dd.cloud.user.req.consult.ConsultMedicalRecordPageReq;
import com.dd.cloud.user.res.consult.ConsultMedicalRecordDetailRes;
import com.dd.cloud.user.res.consult.ConsultMedicalRecordPageRes;

/**
 * @author Lx
 * @version 1.0
 */
public interface IConsultMedicalRecordService extends IService<ConsultMedicalRecord> {
    /**
     * 创建问诊电子病历
     *
     * @param req
     */
    void createConsultMedicalRecord(ConsultMedicalRecordCreateReq req);

    /**
     * 查询问诊电子病历详情
     *
     * @param consultId
     * @return
     */
    ConsultMedicalRecordDetailRes queryConsultMedicalRecordDetail(Integer consultId);

    /**
     * 查询问诊电子病历列表
     *
     * @param req
     * @return
     */
    IPage<ConsultMedicalRecordPageRes> queryConsultMedicalRecordPage(ConsultMedicalRecordPageReq req);
}
